-
Notifications
You must be signed in to change notification settings - Fork 937
Backport handle errors gracefully to prevent SEGV to v5.0.x #13539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v5.0.x
Are you sure you want to change the base?
Conversation
oob_allgather_test() do not check isend() call success, leading to the possibility to use oob_req->reqs[] un-initialized upon error and thus to SEGV. Signed-off-by: Bruno Faccini <bfaccini@nvidia.com> (cherry picked from commit 109f4bc)
|
Hello! The Git Commit Checker CI bot found a few problems with this PR: e85fe16: coll/ucc: Fix indentation issue with tab.
Please fix these problems and, if necessary, force-push new commits back up to the PR branch. Thanks! |
| if (OMPI_SUCCESS != rc) { | ||
| return UCC_ERR_NO_MESSAGE; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use tabs -- we only use 4-space indenting here in Open MPI.
https://docs.open-mpi.org/en/v5.0.x/developers/source-code.html
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one still looks wrong.
janjust
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Echoing @jsquyres 4 spaces, no tabs please
Signed-off-by: Qiao Kang <qkang@nvidia.com> (cherry picked from commit 3980e80)
oob_allgather_test() do not check isend() call
success, leading to the possibility to use
oob_req->reqs[] un-initialized upon error and
thus to SEGV.
(cherry picked from commit 109f4bc)
Backport this fix in main branch to v5.0.x, so 5.0 version can run with UCC without segmentation fault.